
/**
 * Predefined variables
 * Name = logHelper
 * DateTime = Fri Mar 04 2022 10:24:48 GMT+0800 (中国标准时间)
 * Author = Shioho
 * FileBasename = logHelper.ts
 * FileBasenameNoExtension = logHelper
 * URL = db://assets/shioho/scripts/toolsHelper/logHelper.ts
 * ManualUrl = https://docs.cocos.com/creator/3.4/manual/zh/
 *
 */

export default class logHelper {

    public static IsNeedInfo = true;

    public static info(info: string) {
        if (!this.IsNeedInfo)
            return;

        console.log(info);
    }

    public static debug(info: string) {
        console.log(info);
    }

    public static warn(info: string) {
        console.warn(info);
    }

    public static error(info: string) {
        console.error(info);
    }
}
